<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<html>
<head>
<title>提示信息 - Powered By LIUSANY</title>

<script type="text/javascript">
$().ready( function() {
		function redirectUrl() {
			<c:choose>
		         <c:when test="${redirectUrl != null}">
		             window.location.href = "${ctx}/${redirectUrl}"
		         </c:when>
		         <c:otherwise>
		             window.history.back();
		         </c:otherwise>
	        </c:choose>
		}
		
		$.dialog({type: "success", title: "操作提示", content: 
		"<c:choose><c:when test="${message != null}">${message}&nbsp;</c:when><c:otherwise>您的操作已成功!</c:otherwise></c:choose>",
		  ok: "确定", okCallback: redirectUrl, cancelCallback: redirectUrl, width: 380, modal: true});
			
			

});
</script>
</head>
<body class="success">
</body>
</html>